package com.cwm.test.decorator.logger;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 这里是一个门面模式
 */
public class JsonLoggerFactory {

    public static JsonLogger getLogger(Class claz){
        Logger logger = LoggerFactory.getLogger(claz);
        return new JsonLogger(logger);
    }
}
